package com.ruoyi.system.api.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * #仓库信息对象 bm_warehouse
 * 
 * @author ruoyi
 * @date 2023-08-02
 */
public class BmWarehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseCode;

    /** 仓库编号 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 机构id */
    @Excel(name = "机构id")
    private Long mechanismId;

    /** 仓库类型 1.自有 2.租赁 */
    @Excel(name = "仓库类型 1.自有 2.租赁")
    private Long warehouseType;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String address;

    /** 物流费每公里 */
    @Excel(name = "物流费每公里")
    private BigDecimal deliveryfeeAverykm;

    /** 开始营业时间 */
    @Excel(name = "开始营业时间")
    private String startTime;

    /** 结束营业时间 */
    @Excel(name = "结束营业时间")
    private String endTime;

    /** 配送范围 */
    @Excel(name = "配送范围")
    private BigDecimal deliveryRadius;

    /** 仓库经纬度坐标 如：113.781181,34.720848 */
    @Excel(name = "仓库经纬度坐标 如：113.781181,34.720848")
    private String mapCode;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 起送数量 */
    @Excel(name = "起送数量")
    private Long startSendNum;

    /** 删除标记 0.未删除 1.已删除 */
    @Excel(name = "删除标记 0.未删除 1.已删除")
    private Long isDeleted;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    private List<String> cityCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public void setMechanismId(Long mechanismId)
    {
        this.mechanismId = mechanismId;
    }

    public Long getMechanismId() 
    {
        return mechanismId;
    }
    public void setWarehouseType(Long warehouseType) 
    {
        this.warehouseType = warehouseType;
    }

    public Long getWarehouseType() 
    {
        return warehouseType;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDeliveryfeeAverykm(BigDecimal deliveryfeeAverykm) 
    {
        this.deliveryfeeAverykm = deliveryfeeAverykm;
    }

    public BigDecimal getDeliveryfeeAverykm() 
    {
        return deliveryfeeAverykm;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setDeliveryRadius(BigDecimal deliveryRadius) 
    {
        this.deliveryRadius = deliveryRadius;
    }

    public BigDecimal getDeliveryRadius() 
    {
        return deliveryRadius;
    }
    public void setMapCode(String mapCode) 
    {
        this.mapCode = mapCode;
    }

    public String getMapCode() 
    {
        return mapCode;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setStartSendNum(Long startSendNum) 
    {
        this.startSendNum = startSendNum;
    }

    public Long getStartSendNum() 
    {
        return startSendNum;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public List<String> getCityCode() {
        return cityCode;
    }

    public void setCityCode(List<String> cityCode) {
        this.cityCode = cityCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseCode", getWarehouseCode())
            .append("warehouseName", getWarehouseName())
            .append("mechanismId", getMechanismId())
            .append("warehouseType", getWarehouseType())
            .append("city",getCity())
            .append("address", getAddress())
            .append("deliveryfeeAverykm", getDeliveryfeeAverykm())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("deliveryRadius", getDeliveryRadius())
            .append("mapCode", getMapCode())
            .append("tel", getTel())
            .append("startSendNum", getStartSendNum())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
